// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import infiniteScroll from 'vue-infinite-scroll'
Vue.use(infiniteScroll)
Vue.prototype.apiurl='106.14.183.130:8088'
//引入js-cookies
import Cookies from 'js-cookie';
Vue.prototype.Cookies = Cookies
//引入validate
import validate from 'validate'
Vue.prototype.validate = validate
//引入juery
import jq from 'jquery'
Vue.prototype.jq = jq
import car from '@/components/car'
Vue.component('car',car)
import bottom from '@/components/bottom'
Vue.component('bottom',bottom)
import righticon from '@/components/righticon'
Vue.component('righticon',righticon)

import ElementUi from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUi)

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  data:{
    cars:{}
  },
  components: { App },
  template: '<App/>'
})
